package com.mzy.basics.utils.Io;

import java.io.File;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author mzy
 * @Date 2022/4/9 16:51
 * @Version 1.0
 */
public class FileDemo {
    public static void main(String[] args) {
        String file = File.separator + "mzy" + File.separator + "tomorrow";
        System.out.println(file);
    }


    /**
     * 指定文件路径转byte
     */

//    File file = new File(filePath);
//    byte[] bytesArray = new byte[(int) file.length()];
//    byte[] bFile = Files.readAllBytes(Paths.get(filePath));
}
